import i18n from '@/locales';

const macColumns = [
  {
    title: i18n.t('authMac.mac'),
    dataIndex: 'mac',
    // fixed: 'left',
  },
  {
    title: i18n.t('authMac.remark'),
    dataIndex: 'remark',
  },
  {
    title: i18n.t('localAccount.authPolicy'),
    dataIndex: 'profileId',
    scopedSlots: {
      customRender: 'profileId',
    },
  },
  {
    title: i18n.t('userManage.createdAt'),
    dataIndex: 'createTime',
    scopedSlots: { customRender: 'timeColumn' },
  },
  {
    title: i18n.t('common.action'),
    width: 150,
    dataIndex: 'action',
    align: 'right',
    scopedSlots: {
      customRender: 'action',
    },
    export: false,
    // fixed: 'right',
  },
];
export { macColumns };
